<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<link rel="stylesheet" href="css/style.css" type="text/css" />
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title> 学生信息管理系统 </title>
</head>
<body>
	<h2 class="h2_Title" >访客面板</h2>
	
	
	<div class="div_MainPanel"  >
		<p><a href="index.jsp">首页</a></p>
		
		<table style="margin: auto; margin-top: 20px;">
			<tr>
				<th style="width: 8em">学号</th>
				<th style="width: 6em">姓名</th>
				<th style="width: 4em">性别</th>
				<th style="width: 4em">年龄</th>
				<th style="width: 8em">院系</th>
				<th style="width: 8em">班级</th>
				<th style="width: 8em">学号</th>
				<th style="width: 6em">课程</th>
				<th style="width: 4em">成绩</th>
				
			</tr>			
				<c:forEach var="crs" items="${requestScope.crsList}" >
					<tr style="text-align: center;">
						<td style="width: 8em">${requestScope.student.sno }</td>
						<td style="width: 6em">${requestScope.student.sname }</td>
						<td style="width: 4em">${requestScope.student.ssex }</td>
						<td style="width: 4em">${requestScope.student.sage }</td>
						<td style="width: 8em">${requestScope.student.sdept }</td>
						<td style="width: 8em">${requestScope.student.sclass }</td>
						<td style="width: 8em">${crs.sno }</td>
						<td style="width: 6em">${crs.cname }</td>
						<td style="width: 4em">${crs.cscore }</td>	
					
					</tr>
				</c:forEach>
		</table>
	</div>
</body>
</html>